﻿namespace CoHubServerCore.Configurator;

public static class DefaultPath
{
    public static string LocalApplicationDataDirectory =>
        Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData);

    public static string RootDirectory => System.IO.Path.Combine(LocalApplicationDataDirectory, "CoHubServer");

    public static string ConfigDirectory => System.IO.Path.Combine(RootDirectory, "Config");

    public static string ConfigPath => System.IO.Path.Combine(ConfigDirectory, "config.toml");

    public static string DatabaseDirectoryName => "Database";
    public static string DatabaseName => "cohub-server.db";
    public static string FtpDirectoryName => "Disk";
}